package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Businesscategory;
import com.chanyachting.emall.domain.Businesstype;




/****
 * 行业类别操作接口 
 * @author robert
 *
 */
public interface BusinesstypeService {
	
	//添加行业类别
	public boolean addBusinesstype(Businesstype by);
	
	//删除行业类别
	public boolean delBusinesstype(Businesstype by);
	
	//修改行业类别
	public boolean updateBusinesstype(Businesstype by);
	
	//获得一个行业类别对象
	public Businesstype getOneBusinesstype(Businesstype by);
	
	//获得所有行业类别对象
	public List<Businesstype> getAllBusinesstype();
	
	//通过行业类别获得所有行业次分类
	public List<Businesscategory>  getBusinesscategoryByType(Businesstype by);
	
	//修改行业类别优先级
	public boolean updateBusinesstypePri(Businesstype by);

}
